how to convert byte array to file in java